#include <stdio.h>

int triangle(int a, int b, int c)
{
    int tmp = 0;
    if(a>b)
    {
        tmp = a;
        a = b;
        b = tmp;
    }
    if(a>c)
    {
        tmp = a;
        a = c;
        c = tmp;
    }
    if(b>c)
    {
        tmp = b;
        b = c;
        c = tmp;
    }
    if(a+b>c && c-b<a)
    {
        return 1; 
    }
    else
    {
        return 0;
    }
}

int main() {
    int a, b, c;
    while (scanf("%d %d %d", &a, &b, &c) != EOF) 
    { 
        if(triangle(a, b, c))
        {
            printf("%d %d %d ", a, b, c);
        }
    }
    return 0;
}
